package org.csmz.class2333;

import java.util.Scanner;

public class Example13 {
    public static void main(String[] args){
        String password ="123456";
        String intput;
        Scanner scanner = new Scanner(System.in);
        do {
            System.out.println("请输入密码：");
            intput = scanner.nextLine();
        }while (intput != password);
        System.out.println("密码输入正确");
    }
}
